package br.xraylol.custom.list;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import br.xraylol.bean.riot.ChampionBean;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

public class ChampionList {
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	private List<ChampionBean> champions = new ArrayList<ChampionBean>();
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	private Map<String, ChampionBean> data = new HashMap<String, ChampionBean>();
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	private String format;
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	private Map<String, String> keys = new HashMap<String, String>();
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	private String type;
	
	@JsonIgnoreProperties(ignoreUnknown = true)
	private String version;
	
	public ChampionList() {
	}

	public ChampionList(List<ChampionBean> champions) {
		this.champions = champions;
	}
	
	public ChampionList(HashMap<String, ChampionBean> data) {
		this.data = data;
	}
	
	public Map<String, ChampionBean> getData() {
		return data;
	}

	public void setData(Map<String, ChampionBean> data) {
		this.data = data;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public Map<String, String> getKeys() {
		return keys;
	}

	public void setKeys(Map<String, String> keys) {
		this.keys = keys;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public List<ChampionBean> getChampions() {
		return champions;
	}

	public void setChampions(List<ChampionBean> champions) {
		this.champions = champions;
	}

}
